DATAS SEGMENT 
    ORG 3000H
    ASCII1 DB 48,49,50,51,52,53,54,55,56,57
    ORG 3500H
    NUM DB 10 DUP(?)
    ORG 3800H
    ASCII2 DB 10 DUP(?)
DATAS ENDS

CODES SEGMENT
    ASSUME CS:CODES,DS:DATAS
START:
	MOV AX,DATAS
    MOV DS,AX
    
    LEA SI,ASCII1
    LEA DI,NUM
    MOV CX,10
LOP1:
    MOV BL,[SI]
    SUB BL,48
    MOV [DI],BL
    INC SI
    INC DI
    LOOP LOP1
    
    LEA SI,NUM
    LEA DI,ASCII2
    MOV CX,10
LOP2:
    MOV BL,[SI]
    ADD BL,48
    MOV [DI],BL
    INC SI
    INC DI
    LOOP LOP2
    

    MOV AH,4CH   
    INT 21H
CODES ENDS
    END START